package com.ll.xiaonew.commons.core.exception;

/**
 * @author new
 * @date 2022/12/5 15:06
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author new
 * @Description: 自定义业务异常类
 * @date 2022/12/5 15:11
 * @param
 * @return
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusinessException extends RuntimeException {
    private Integer code;

    private String msg;
}
